import urllib2
from google.appengine.api import mail

def httpget(url):
    f = urllib2.urlopen(url, timeout=10)
    resp = f.read()
    f.close()
    return resp
        
def sendMail(content):
    message = mail.EmailMessage(sender="Bernhard.Schaefer1@gmail.com",
                                subject="GAE news")
    message.to = "Bernhard.Schaefer1@gmail.com"
    message.body = content
    message.send()

